/** 
 * Copyright (C), 2010-2012, AIYOU Software Co.,Ltd. ALL RIGHTS RESERVED. 
 * File name:CityBean.java
 * Version:1.0
 * Date:2012-1-2
 * Description: 
 * author:whh 
 */
package com.tietiao.common.bean;

import com.tietiao.dao.model.SysDict;

public class AreaBean {
	private String areaCode;
	private String areaName;
	private String areaype;

	public String getAreaCode() {
		return areaCode;
	}
	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}
	public String getAreaName() {
		return areaName;
	}
	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	
	public String getAreaype() {
		return areaype;
	}
	public void setAreaype(String areaype) {
		this.areaype = areaype;
	}
	public AreaBean(){}
	public AreaBean(String areaCode, String areaName, String areaype) {
		super();
		this.areaCode = areaCode;
		this.areaName = areaName;
		this.areaype = areaype;
	}
	
	public static AreaBean getAreaBean(SysDict sysDict) {
		return new AreaBean(sysDict.getDictKey(),sysDict.getDictValue1(),sysDict.getDictLevel());
	}
}
